﻿using MiniFox.Platform.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MiniFox.Platform.State
{
    /// <summary>
    /// 
    /// </summary>
    public interface IStateManagement
    {
        /// <summary>
        /// 
        /// </summary>
        int CookieStateExpires { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="key"></param>
        /// <returns></returns>
        object this[string key] { get; set; }
        /// <summary>
        /// 
        /// </summary>
        void Clear();
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        ClientInfomation ClientInfomation { get; }
    }
}
